package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 证书材质配置
 */
@Getter
@Setter
@Document(collection = "ca_material_config")
public class CaMaterialConfig extends EntityBase {
    private String activityName;
    private String activityId;
    private String name;
    private String desc;
    /**
     * 类型:1.不独立包装（布纹纸压线 /布纹纸不压线），2.独立包装：塑封/珠光纸不压线
     * 1:布纹纸压线,2:布纹纸不压线,3:塑封,4:珠光纸不压线 6: 蛋纹纸
     */
    private String type;
    /**
     * 是否需要独立包装
     */
    private Boolean individuallyPacked = Boolean.FALSE;
    /**
     * 制作周期,单位天,默认3天
     */
    private Integer cycle;

    /**
     * 库存数量
     */
    private Integer stockCount = 0;

    /**
     * 已售数量
     */
    private Integer soldCount = 0;

    /**
     * 剩余数量
     */
    private Integer surplusCount = 0;

}
